﻿using Castle.Core.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace Abp.Logging
{
    public class ExceptionlessLoggerFactory : ILoggerFactory, Abp.Dependency.ITransientDependency
    {
        public ILogger Create(Type type)
        {
            return new ExceptionlessLogger(type);
        }

        public ILogger Create(string name)
        {
            return new ExceptionlessLogger(name);
        }

        public ILogger Create(Type type, LoggerLevel level)
        {
            return new ExceptionlessLogger(type, level);
        }

        public ILogger Create(string name, LoggerLevel level)
        {
            return new ExceptionlessLogger(name, level);
        }
    }
}
